/*
 * @Author: Mcfly
 * @Date: 2021-07-20 09:51:57
 * @LastEditTime: 2021-07-20 10:03:35
 * @LastEditors: Mcfly
 * @Description: 
 * @FilePath: \FTTfly\Comm\Throttle.c
 * 本人github:https://github.com/McflyWZX
 */
#include "Throttle.h"
#include "stdlib.h"

float *throttle;

void Throttle_Init(float t)
{
    throttle = malloc(sizeof(float));
    *throttle = t;
}

void Throttle_Set(float t)
{
    *throttle = t;
}

float Throttle_Get(void)
{
    return *throttle;
}
